LogDoor User's Guide

Input & Output Log Files

 

This chapter presents details of the log files used by LogDoor. File formats are covered in Appendix 2.

Input Log Files

The input file for a LogDoor task can be any valid WebSTAR, AppleShare IP or other WebSTAR-compatible log file, or a HomeDoor log file. WebSTAR log files should begin with the standard format line written by WebSTAR when it starts a new log file or changes its log file format. If a LogDoor input file does not begin with a format line, the LogDoor task will derive the format of that file based on the first entry in the file.

A LogDoor task can also use another task's output log file as its input log file. This is part of obtaining detailed site information, which is covered in Detailed Site Information.

To select a log file to be used as a task's input file, choose "Input File..." from the Task menu. Whenever a new input file is selected for a LogDoor task, the task will automatically configure itself to start processing at the beginning of that input file. If a task has already processed some of the current input file, but you wish to have the task restart processing at the beginning of that file, simply re-select the input file using the Input Log File button or Input File menu item.

A LogDoor task will process its input file until it has reached the end of that file. Once it has reached the file's end, the task will continue scanning that file for any new data which may be added, and it will automatically process that data. In this way LogDoor can serve as a real-time monitor of your server's activity.

 

Output Log Files

When writing output logs, the LogDoor task echoes any input log format line to each output log file, so that log post-processing applications will be able to correctly process LogDoor output logs. Site logs are always appended to and are never reset by a LogDoor task.

Site logs, like all three of LogDoor's output file types, are named based on the site name. LogDoor appends a user-specified suffix to the site name to form the output file name. You can specify the suffix in the Output Files dialog. The default suffix used for log files is ".log", so the name of a log file will generally have the format <site-name>.log.

 

Task Default Output Options

Task output defaults can be changed through the Output Files dialog. Select "Output Files..." from the Task menu. The "Output Files" dialog appears as shown in Figure 1 below.

Figure 1. Output Files Dialog

This dialog contains four sections:

 

Site-by-Site Output Options

The outputting of log files can also be controlled on a site-by-site basis. By default, every site processed by a task will use the options set in the "Output Files" dialog, but these options can be overridden for specific sites. To override a task's output options for a given site, select that site in the site list within the task's status window. Then choose Items from the Task menu, and then choose "Site Item Options...". The "Site Item Options" window appears as shown below in Figure 2.

Figure 2. Site Item Options Dialog

The default is to use the task default options. If you select "Use these options", you can choose whether or not to output log files for this specific site.


Back to Table of Contents
Back to LogDoor Tasks
Forward to LogDoor Windows